package com.example.mskefu.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.mskefu.entity.Message;
import com.example.mskefu.mapper.MessageMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class MessageService extends ServiceImpl<MessageMapper, Message> {
    @Autowired
    private MessageMapper messageMapper;
    public ArrayList<Message> getMessageByChatId(String fszId, String jszId,String shopId)
    {
        return messageMapper.getMessageByChatId(fszId, jszId, shopId);
    }
}
